Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Data center



  String.length() vs String.getBytes().length in Java

In Java, String.length() is to return the number of characters in the string, while String.getBytes().length is to return the number of bytes to represent the string with the specified encoding. By default, the encoding will be the value of system property file.encoding, the encoding name can be set manually as well by calling System.setProperty("file.encoding", "XXX"). For example, UTF-8, Cp1252. In many cases, String.length() will return the same value as String.getBytes().length, but in some ...

   Java,UTF8,String,Encoding,Sample     2015-04-01 22:22:23

  ScrollerJS vs Odometer

Both ScrollerJS and Odometer are two JavaScript libraries to transition one number to another number with animation. They provide user a fancy animation about scrolling numbers. These libraries can be used in many scenarios such as user statistic counter, timer or odometer. This post is going to have a comparison on these two open source libraries. Below is a table which lists the features the two libraries have: Feature ScrollerJS Odometer Language JavaScript and CSS JavaScript and CSS S...

   JavaScript, Odometer, ScrollerJS, Open source, CSS Transition     2015-05-13 02:10:55

  Resolve SystemStackError issue when resolving IP address in Ruby

In Ruby, Resolv is the default DNS resolution implementation. It can be used to resolve IP address of a hostname. To use it, one just needs to require 'resolv' in the code. But sometimes, a user would want to check /etc/hosts first or some other mechanisms to resolve an IP address. In this case, one can require 'resolv-replace' and then replace the default DNS resolvers with customized DNS resolvers. For example, using resolv-replace, one would write require 'resolv-replace' Resolv::DefaultResol...

   RUBY,RUBY ON RAILS,NETWORK     2017-07-08 09:54:35

  Apple's new patent for non-programmers

U.S. Patent and Trademark Office this week announced a new Apple patent called  "Content Configuration for Device Platforms" which they applied in December 2011. This patent describes a new border software that allows users who do not understand code to create applications  .The patent mentioned that computer programming language has become the obstacles to creating applications, because a lot of content writers and designers do not have knowledge of computer programming.Thi...

   Apple,New patent,Authoring tool     2012-04-15 01:16:17

  20 free fonts for web design

1.Comfortaa2.Quicksand3.Fertigo Pro4.Telegrafico5.Forque6.Romeral7.Sling8.League Gothic9.Molot10.Junction11.Tertre12.Nevis13.Existence Light14.Mentone15.Walkaway16.Jalane Light17.Insolent18.Kaffeesatz19.Vollkorn20.Gnuolane原文出自:ITeye...

   Web design,Fonts,Comfortaa,Quicksand     2011-04-20 00:30:24

  Flash, HTML5 comparison finds neither has performance advantage

A comparison of streaming video via the Adobe Flash and HTML5 formats with numerous different browsers on both Mac and Windows produced wildly different results based on the operating system and browser, making neither a clear winner. The test, from Streaming Learning Center, was conducted in response to recent comments alleged to have been said by Apple co-founder Steve Jobs, in which he reportedly called Flash a "CPU hog." While the test found that HTML5 is significantly more efficient th...

   html5,flash,performance,comparison     2011-07-01 10:08:00

  Microsoft is going to redesign Bing again

On 10 May,2012, Microsoft announces in San Francisco they will  redesign its search engine Bing, and it will cooperate with Facebook, Twitter etc to build a new search service.Bing now is the second largest search engine in the world, but compared to Google, Bing is always the second city of search. Bing these years has always been putting effort on improving its service and the accuracy of search results. Unfortunately, it still cannot gain market share from Google. Today, Microsoft is goi...

   Bing,Social network,Integration,Sidebar     2012-05-11 05:26:11

  Jelly Bean distribution reaches 0.8% in all Android distributions

Jelly Bean (Android 4.1) is a surprise Google I/O conference bringing to us. After three weeks, Google official statistics said Jelly Bean distribution had reached 0.8% in all Android distributions.The latest Android ecosystem data shows Jelly Bean has a very good start, HSPA+ version of Galaxy Nexus can upgrade the system to Android 4.1(Jelly Bean) began in early July. The Ice Cream Sandwich system distribution rose to 15.8% from 10.9%, it became the second largest system version  followin...

   Jelly Bean,Distribution,Share     2012-08-03 15:11:27

  Galaxy S III will be released today at London

At 19:00 May 3 (London time), Samsung will release its next-generation flagship mobile phone products GALAXY, SIII in London, England. This latest Samsung mobile phone will have a quad-core processor, with blue and white two colors and screen size of more than 4.65 inch (there is news that the size will be up to 4.8 inch).Europe's largest mobile phone retailer CarphoneWarehouse confirms the new Galaxy phone does have blue and two different colors.Quad-Core CPUCeramic casingPhone screen p...

   Samsung,S III,release,London     2012-05-03 05:44:16

  The biggest change ever of iOS--iOS 7

In this year's WWDC, Apple unveils its new iOS--iOS 7. The new iOS has the most significant change since it first came to the public. But many people may be disappointed about this. I am not one of them. In WWDC, Tim Cook said iOS 7 is more flatter than before and it has a completely new user interface design, new slide to unlock feature, official share and weather apps are redesigned. The weather apple now has almost the same feature as the newly updated Yahoo weather application. Ive said the...

   iOS 7,new design,Apple     2013-06-10 22:39:45